package com.sky.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 
 * @TableName staff
 */
@TableName(value ="staff")
@Data
public class Staff implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long staffId;

    /**
     * 
     */
    private String staffCode;

    /**
     * 
     */
    private String staffName;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String salt;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private LocalDate birthday;

    /**
     * 
     */
    private String address;

    /**
     * 
     */
    private String idCard;

    /**
     * 
     */
    private String idPhoto;

    /**
     * 
     */
    private Integer roleId;

    /**
     * 
     */
    private Integer createBy;

    /**
     * 
     */
    private LocalDateTime createDate;

    /**
     * 
     */
    private Integer staffState;

    /**
     * 
     */
    private String sculpture;

    /**
     * 
     */
    private String notes;

    /**
     * 
     */
    private Integer staffStatic;

    /**
     * 
     */
    private Integer state;

    /**
     * 
     */
    @TableLogic(value = "0",delval = "1")
    private Integer deleted;

    /**
     * 
     */
    private Integer createId;

    /**
     * 
     */
    private LocalDateTime createTime;

    /**
     * 
     */
    private Integer updateId;

    /**
     * 
     */
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}